Integrand size = 19, antiderivative size = 514 \[ \int \frac {x^5}{\sqrt {a x^2+b x^5}} \, dx=-\frac {8 a x \left (a+b x^3\right )}{7 b^{5/3} \left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt {a x^2+b x^5}}+\frac {2 x \sqrt {a x^2+b x^5}}{7 b}+\frac {4 \sqrt [4]{3} \sqrt {2-\sqrt {3}} a^{4/3} x \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt {\frac {a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} E\left (\arcsin \left (\frac {\left (1-\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}{\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}\right )|-7-4 \sqrt {3}\right )}{7 b^{5/3} \sqrt {\frac {\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt {a x^2+b x^5}}-\frac {8 \sqrt {2} a^{4/3} x \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt {\frac {a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \operatorname {EllipticF}\left (\arcsin \left (\frac {\left (1-\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}{\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}\right ),-7-4 \sqrt {3}\right )}{7 \sqrt [4]{3} b^{5/3} \sqrt {\frac {\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt {a x^2+b x^5}} \]
[Out]
Time = 0.21 (sec) , antiderivative size = 514, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.263, Rules used = {2049, 2057, 309, 224, 1891} \[ \int \frac {x^5}{\sqrt {a x^2+b x^5}} \, dx=-\frac {8 \sqrt {2} a^{4/3} x \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt {\frac {a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt [3]{b} x+\left (1-\sqrt {3}\right ) \sqrt [3]{a}}{\sqrt [3]{b} x+\left (1+\sqrt {3}\right ) \sqrt [3]{a}}\right ),-7-4 \sqrt {3}\right )}{7 \sqrt [4]{3} b^{5/3} \sqrt {\frac {\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt {a x^2+b x^5}}+\frac {4 \sqrt [4]{3} \sqrt {2-\sqrt {3}} a^{4/3} x \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt {\frac {a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} E\left (\arcsin \left (\frac {\sqrt [3]{b} x+\left (1-\sqrt {3}\right ) \sqrt [3]{a}}{\sqrt [3]{b} x+\left (1+\sqrt {3}\right ) \sqrt [3]{a}}\right )|-7-4 \sqrt {3}\right )}{7 b^{5/3} \sqrt {\frac {\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt {a x^2+b x^5}}-\frac {8 a x \left (a+b x^3\right )}{7 b^{5/3} \left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt {a x^2+b x^5}}+\frac {2 x \sqrt {a x^2+b x^5}}{7 b} \]
[In]
[Out]
Rule 224
Rule 309
Rule 1891
Rule 2049
Rule 2057
Rubi steps \begin{align*} \text {integral}& = \frac {2 x \sqrt {a x^2+b x^5}}{7 b}-\frac {(4 a) \int \frac {x^2}{\sqrt {a x^2+b x^5}} \, dx}{7 b} \\ & = \frac {2 x \sqrt {a x^2+b x^5}}{7 b}-\frac {\left (4 a x \sqrt {a+b x^3}\right ) \int \frac {x}{\sqrt {a+b x^3}} \, dx}{7 b \sqrt {a x^2+b x^5}} \\ & = \frac {2 x \sqrt {a x^2+b x^5}}{7 b}-\frac {\left (4 a x \sqrt {a+b x^3}\right ) \int \frac {\left (1-\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}{\sqrt {a+b x^3}} \, dx}{7 b^{4/3} \sqrt {a x^2+b x^5}}+\frac {\left (4 \left (1-\sqrt {3}\right ) a^{4/3} x \sqrt {a+b x^3}\right ) \int \frac {1}{\sqrt {a+b x^3}} \, dx}{7 b^{4/3} \sqrt {a x^2+b x^5}} \\ & = -\frac {8 a x \left (a+b x^3\right )}{7 b^{5/3} \left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt {a x^2+b x^5}}+\frac {2 x \sqrt {a x^2+b x^5}}{7 b}+\frac {4 \sqrt [4]{3} \sqrt {2-\sqrt {3}} a^{4/3} x \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt {\frac {a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} E\left (\sin ^{-1}\left (\frac {\left (1-\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}{\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}\right )|-7-4 \sqrt {3}\right )}{7 b^{5/3} \sqrt {\frac {\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt {a x^2+b x^5}}-\frac {8 \sqrt {2} a^{4/3} x \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt {\frac {a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} F\left (\sin ^{-1}\left (\frac {\left (1-\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}{\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}\right )|-7-4 \sqrt {3}\right )}{7 \sqrt [4]{3} b^{5/3} \sqrt {\frac {\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt {a x^2+b x^5}} \\ \end{align*}
Result contains higher order function than in optimal. Order 5 vs. order 4 in optimal.
Time = 10.04 (sec) , antiderivative size = 68, normalized size of antiderivative = 0.13 \[ \int \frac {x^5}{\sqrt {a x^2+b x^5}} \, dx=\frac {2 x^3 \left (a+b x^3-a \sqrt {1+\frac {b x^3}{a}} \operatorname {Hypergeometric2F1}\left (\frac {1}{2},\frac {2}{3},\frac {5}{3},-\frac {b x^3}{a}\right )\right )}{7 b \sqrt {x^2 \left (a+b x^3\right )}} \]
[In]
[Out]
Time = 2.00 (sec) , antiderivative size = 25, normalized size of antiderivative = 0.05
method | result | size |
pseudoelliptic | \(-\frac {2 \sqrt {b \,x^{3}+a}\, \left (-b \,x^{3}+2 a \right )}{9 b^{2}}\) | \(25\) |
risch | \(\frac {2 x^{3} \left (b \,x^{3}+a \right )}{7 b \sqrt {x^{2} \left (b \,x^{3}+a \right )}}+\frac {8 i a \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}} \sqrt {\frac {i \left (x +\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}-\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right ) \sqrt {3}\, b}{\left (-a \,b^{2}\right )^{\frac {1}{3}}}}\, \sqrt {\frac {x -\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{b}}{-\frac {3 \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}+\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}}}\, \sqrt {-\frac {i \left (x +\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}+\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right ) \sqrt {3}\, b}{\left (-a \,b^{2}\right )^{\frac {1}{3}}}}\, \left (\left (-\frac {3 \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}+\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right ) E\left (\frac {\sqrt {3}\, \sqrt {\frac {i \left (x +\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}-\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right ) \sqrt {3}\, b}{\left (-a \,b^{2}\right )^{\frac {1}{3}}}}}{3}, \sqrt {\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{b \left (-\frac {3 \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}+\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right )}}\right )+\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}} F\left (\frac {\sqrt {3}\, \sqrt {\frac {i \left (x +\frac {\left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}-\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right ) \sqrt {3}\, b}{\left (-a \,b^{2}\right )^{\frac {1}{3}}}}}{3}, \sqrt {\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{b \left (-\frac {3 \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}+\frac {i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}}{2 b}\right )}}\right )}{b}\right ) x}{21 b^{2} \sqrt {x^{2} \left (b \,x^{3}+a \right )}}\) | \(470\) |
default | \(-\frac {2 x \left (3 i \left (-a \,b^{2}\right )^{\frac {2}{3}} \sqrt {3}\, \sqrt {-\frac {i \left (i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}-2 b x -\left (-a \,b^{2}\right )^{\frac {1}{3}}\right ) \sqrt {3}}{\left (-a \,b^{2}\right )^{\frac {1}{3}}}}\, \sqrt {-\frac {2 \left (-b x +\left (-a \,b^{2}\right )^{\frac {1}{3}}\right )}{\left (-a \,b^{2}\right )^{\frac {1}{3}} \left (i \sqrt {3}-3\right )}}\, \sqrt {-\frac {i \left (i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}+2 b x +\left (-a \,b^{2}\right )^{\frac {1}{3}}\right ) \sqrt {3}}{\left (-a \,b^{2}\right )^{\frac {1}{3}}}}\, E\left (\frac {\sqrt {3}\, \sqrt {2}\, \sqrt {-\frac {i \left (i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}-2 b x -\left (-a \,b^{2}\right )^{\frac {1}{3}}\right ) \sqrt {3}}{\left (-a \,b^{2}\right )^{\frac {1}{3}}}}}{6}, \sqrt {2}\, \sqrt {\frac {i \sqrt {3}}{i \sqrt {3}-3}}\right ) a -2 i \left (-a \,b^{2}\right )^{\frac {2}{3}} \sqrt {3}\, \sqrt {-\frac {i \left (i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}-2 b x -\left (-a \,b^{2}\right )^{\frac {1}{3}}\right ) \sqrt {3}}{\left (-a \,b^{2}\right )^{\frac {1}{3}}}}\, \sqrt {-\frac {2 \left (-b x +\left (-a \,b^{2}\right )^{\frac {1}{3}}\right )}{\left (-a \,b^{2}\right )^{\frac {1}{3}} \left (i \sqrt {3}-3\right )}}\, \sqrt {-\frac {i \left (i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}+2 b x +\left (-a \,b^{2}\right )^{\frac {1}{3}}\right ) \sqrt {3}}{\left (-a \,b^{2}\right )^{\frac {1}{3}}}}\, F\left (\frac {\sqrt {3}\, \sqrt {2}\, \sqrt {-\frac {i \left (i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}-2 b x -\left (-a \,b^{2}\right )^{\frac {1}{3}}\right ) \sqrt {3}}{\left (-a \,b^{2}\right )^{\frac {1}{3}}}}}{6}, \sqrt {2}\, \sqrt {\frac {i \sqrt {3}}{i \sqrt {3}-3}}\right ) a -3 b^{3} x^{5}+3 \left (-a \,b^{2}\right )^{\frac {2}{3}} \sqrt {-\frac {i \left (i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}-2 b x -\left (-a \,b^{2}\right )^{\frac {1}{3}}\right ) \sqrt {3}}{\left (-a \,b^{2}\right )^{\frac {1}{3}}}}\, \sqrt {-\frac {2 \left (-b x +\left (-a \,b^{2}\right )^{\frac {1}{3}}\right )}{\left (-a \,b^{2}\right )^{\frac {1}{3}} \left (i \sqrt {3}-3\right )}}\, \sqrt {-\frac {i \left (i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}+2 b x +\left (-a \,b^{2}\right )^{\frac {1}{3}}\right ) \sqrt {3}}{\left (-a \,b^{2}\right )^{\frac {1}{3}}}}\, E\left (\frac {\sqrt {3}\, \sqrt {2}\, \sqrt {-\frac {i \left (i \sqrt {3}\, \left (-a \,b^{2}\right )^{\frac {1}{3}}-2 b x -\left (-a \,b^{2}\right )^{\frac {1}{3}}\right ) \sqrt {3}}{\left (-a \,b^{2}\right )^{\frac {1}{3}}}}}{6}, \sqrt {2}\, \sqrt {\frac {i \sqrt {3}}{i \sqrt {3}-3}}\right ) a -3 a \,b^{2} x^{2}\right )}{21 \sqrt {b \,x^{5}+a \,x^{2}}\, b^{3}}\) | \(676\) |
[In]
[Out]
Result contains higher order function than in optimal. Order 9 vs. order 4.
Time = 0.08 (sec) , antiderivative size = 45, normalized size of antiderivative = 0.09 \[ \int \frac {x^5}{\sqrt {a x^2+b x^5}} \, dx=\frac {2 \, {\left (\sqrt {b x^{5} + a x^{2}} b x + 4 \, a \sqrt {b} {\rm weierstrassZeta}\left (0, -\frac {4 \, a}{b}, {\rm weierstrassPInverse}\left (0, -\frac {4 \, a}{b}, x\right )\right )\right )}}{7 \, b^{2}} \]
[In]
[Out]
\[ \int \frac {x^5}{\sqrt {a x^2+b x^5}} \, dx=\int \frac {x^{5}}{\sqrt {x^{2} \left (a + b x^{3}\right )}}\, dx \]
[In]
[Out]
\[ \int \frac {x^5}{\sqrt {a x^2+b x^5}} \, dx=\int { \frac {x^{5}}{\sqrt {b x^{5} + a x^{2}}} \,d x } \]
[In]
[Out]
\[ \int \frac {x^5}{\sqrt {a x^2+b x^5}} \, dx=\int { \frac {x^{5}}{\sqrt {b x^{5} + a x^{2}}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {x^5}{\sqrt {a x^2+b x^5}} \, dx=\int \frac {x^5}{\sqrt {b\,x^5+a\,x^2}} \,d x \]
[In]
[Out]